package net.qhzw.vip.qiyu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.qhzw.vip.qiyu.entity.CategoryBrand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CategoryBrandMapper extends BaseMapper<CategoryBrand> {

    void insertCategoryBrand(@Param("categoryId") Long categoryId, @Param("brandIds") List<Long> brandIds);

    void deleteByCategoryId(Long categoryId);

    void deleteByBrandId(Long brandId);

}
